package middleware

import "github.com/gin-gonic/gin"

func ReturnHeader(c *gin.Context) {

	for key, _ := range c.Request.Header {
		// 设置到response
		c.Header(key, c.GetHeader(key))
	}
	c.Next()
}
